/**
 * Created with IntelliJ IDEA.
 * Description:
 * User:
 * Date: 2024-09-10
 * Time: 18:45
 */
public class BinaryTree {
    static class TreeNode{
        TreeNode root;
        TreeNode right;
        TreeNode left;
        char val;

        public TreeNode(char val){
            this.val = val;
        }
    }

    public static int sizeNode = 0;
    public void size(TreeNode root){
        if(root == null) return;
        sizeNode++;

        size(root.left);
        size(root.right);

    }
}
